package interfaces;



import net.xoetrope.xui.*;
import net.xoetrope.swing.*;

public class Welcome extends XPage
{
        public Welcome()
        {
        }



	public void soma()
	{
		String a = ((XEdit)findComponent("a")).getText();
		String b = ((XEdit)findComponent("b")).getText();
		
		if(a.length()!= 0 && b.length()!= 0){
		
		int cc = Integer.parseInt(a)+ Integer.parseInt(b);
		String c = Integer.toString(cc);
		
		((XEdit)findComponent("c")).setText(c);
		}else{
			
		}
	}

}
